package com.tencreat.domain.mall.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class AdminLunboAddEditDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 轮播图id
     */
    private Integer objId;

    /**
     * 展示顺序
     */
    @NotNull(message = "展示顺序不能为空")
    private Integer sortNum;

    /**
     * 展示位置
     */
    @NotNull(message = "展示位置不能为空")
    private Integer locatType;

    /**
     * 图片链接地址
     */
    @NotBlank(message = "图片链接地址不能为空")
    private String imgUrl;

    /**
     * 跳转类型
     */
    @NotNull(message = "跳转类型不能为空")
    private Integer jumpType;

    /**
     * 标识
     */
    private String label;

    /**
     * 地区id
     */
    private Integer areaId;

    public Integer getObjId() {
        return objId;
    }

    public void setObjId(Integer objId) {
        this.objId = objId;
    }

    public Integer getSortNum() {
        return sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

    public Integer getLocatType() {
        return locatType;
    }

    public void setLocatType(Integer locatType) {
        this.locatType = locatType;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getJumpType() {
        return jumpType;
    }

    public void setJumpType(Integer jumpType) {
        this.jumpType = jumpType;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

}
